package com.example;

/**
 * @desc:
 * @author: Shoko
 * @date: 2025/6/1
 */
public abstract class Approver {
    protected String name;
    protected Approver successor;

    public Approver(String name) {
        this.name = name;
    }

    public void setSuccessor(Approver successor) {
        this.successor = successor;
    }

    public abstract void handleRequest(PurchaseRequest request);
}
